package com.paper.tiger.easy.rpc.c.client;

import com.paper.tiger.easy.rpc.resource.TestInter;
import org.springframework.stereotype.Service;

/**
 * [简要描述]:
 * [详细描述]:
 *
 * @author ZouHaiBo
 * @version 1.0, 2021/7/2 17:07
 * @since JDK 1.8
 */
@Service
public class TestInnerSyncImpl implements TestInter.TestInnerSync
{

    @Override
    public void call(String s,Throwable e)
    {
        if (e != null){
            System.out.println("调用发生了异常");
            //e.printStackTrace();
        }

        System.out.println("执行回调，回调消息为 ："+s);
    }

}
